package com.yaj.myfactorysupport.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @ClassName TLightInfoAccompVo
 * @Description TLightInfoAccompVo
 * @date 2022/1/5 20:25
 * @Version 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "TLightInfoAccompVo")
public class TLightInfoAccompVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "T_LIGHT_INFO_UID")
    private BigDecimal tLightInfoUid;

    @TableField("LINE_NAME")
    private String lineName;

    @TableField("REASON_NAME")
    private String reasonName;

    @TableField("RECOVERY_STATUS")
    private String recoveryStatus;

    @TableField("OCCUR_TIMESTAMP")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date occurTimestamp;

    @TableField("REPAIR_TIMESTAMP")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date repairTimestamp;

    @TableField("RECOVERY_TIMESTAMP")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date recoveryTimestamp;
}
